package com.ruoyi.db.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风控基本信息对象 ml_risk_base_info
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public class RiskBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 风控名称 */
    @Excel(name = "风控名称")
    private String name;

    /** 商户ID */
    @Excel(name = "商户ID")
    private Long dataId;

    /** 商户类型 */
    @Excel(name = "商户类型")
    private String dataType;

    /** 工厂类型 */
    @Excel(name = "工厂类型")
    private String factoryType;

    /** 状态（1 可用）（0 不可用） */
    @Excel(name = "状态", readConverterExp = "1=,可=用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setFactoryType(String factoryType) 
    {
        this.factoryType = factoryType;
    }

    public String getFactoryType() 
    {
        return factoryType;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("dataId", getDataId())
            .append("dataType", getDataType())
            .append("factoryType", getFactoryType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
